import useLogin from './login'
import useApplyJoin from './applyJoin'
import useForciblyBreakUp from './forciblyBreakUp'
import useCreate from './create'
import useJoin from './join'
import useInvite from './invite'
import useOffer from './offer'
import useLeave from './leave'
import useDissolve from './dissolve'
import useMicrophone from './microphone'
import useCandidate from './candidate'


export default function(app) {

  // 用户登录
  useLogin(app);

  // 创建房间
  useCreate(app);

  // 加入房间
  useJoin(app);

  // 申请加入房间
  useApplyJoin(app);

  // 邀请用户加入房间
  useInvite(app);

  // 交换 offer
  useOffer(app);

  // 用户离开
  useLeave(app);

  // 解散房间
  useDissolve(app);

  // 交换 ice
  useCandidate(app);

  // 强拆
  useForciblyBreakUp(app);

  // 抢麦
  useMicrophone(app);
}
